{include file="member.header.html"}

<!---------个人中心头部--------------->
<div class="user_header">
    <a href="javascript:history.back(-1)" class="back iconfont">&#xf0115;</a>
    <div class="user_photo">
        <a href="{url app=member}"><img src="{$site_url}/{$user.portrait}" /></a>
    </div>
    <div class="user_name">
        {$visitor.user_name|escape}
        <p class="grade"><span>{$user.ugrade.grade_name}</span>
        <span> {$lang.total_point}：{$user.ugrade.total_integral}</span>
        </p>
    </div>
    <a href="index.php?app=member&act=logout" class="exit iconfont">&#xf012d;</a>
</div>

<section class="member_index">
    <div>
    <a class="member-one" href="{if !$store}{url app=buyer_order}{else}{url app=seller_order}{/if}">{$lang.my_order}<b class="arrow iconfont">&#xf0116;</b></a>
    </div>
    <div class="info">
        <dl>
            <dd>{$lang.available_points}</dd>
            <dt>{$user.integral}</dt>
        </dl>
        <dl>
            <dd>{$lang.avail}</dd>
            <dt>{$user.money}</dt>
        </dl>
        <dl>
            <dd>{$lang.dongjiejine}</dd>
            <dt>{$user.money_dj}</dt>
        </dl>
       <dl>
           <a href="{url index.php?order_sn=&type=pending&app=buyer_order&act=index}">
               <dd class="iconfont">&#xf013c;</dd>
            <dt>{$lang.pending_order}{if $buyer_stat.pending}<span>{$buyer_stat.pending}</span>{/if}</dt>
           </a>
        </dl>
        <dl>
            <a href="{url index.php?order_sn=&type=accepted&app=buyer_order&act=index}">
                <dd class="iconfont">&#xf0138;</dd>
                <dt>{$lang.accepted_order}<span>{if $buyer_stat.accepted}{$buyer_stat.accepted}{/if}</span></dt>
            </a>
        </dl>
        <dl>
            <a href="{url index.php?order_sn=&type=shipped&app=buyer_order&act=index}">
            <dd class="iconfont">&#xf0135;</dd>
            <dt>{$lang.shipped_order}{if $buyer_stat.shipped}<span>{$buyer_stat.shipped}</span>{/if}</dt>
            </a>
        </dl>
        <dl>
            <a href="{url index.php?order_sn=&type=finished&app=buyer_order&act=index}">
            <dd class="iconfont">&#xf013a;</dd>
            <dt>{$lang.finished_order}<span>{if $buyer_stat.finished}{$buyer_stat.finished}{/if}</span></dt>
            </a>
        </dl>

        <div class="clear"></div>
    </div>
    <ul>
        <li>
            <a href="{url app=member&act=profile}">
                <span class="ico"><em class="iconfont" style="color:#FF99CC">&#xf00fc;</em></span>
                <span class="title">{$lang.my_profile}</span>
            </a>
        </li>
        <li>
            <a href="{url app=message&act=newpm}">
                <span class="ico"><em class="iconfont" style="color:#FF6666">&#xf00bc;</em></span>
                <span class="title">{$lang.message}（{$new_message}）</span>
            </a>
        </li>
        <li>
            <a href="{url app=my_favorite}">
                <span class="ico"><em class="iconfont" style="color:#7BBCEA">&#xf00b9;</em></span>
                <span class="title">{$lang.Goods_collection}</span>
            </a>
        </li>
        <li>
            <a href="{url app=my_address}">
                <span class="ico"><em class="iconfont" style="color:#FF99CC">&#x343a;</em></span>
                <span class="title">{$lang.shipping_address}</span>
            </a>
        </li>
        <li>
            <a href="{url app=buyer_order}">
                <span class="ico"><em class="iconfont" style="color:#FF6666">&#xf00b8;</em></span>
                <span class="title">{$lang.my_order}</span>
            </a>
        </li>
        <li>
            <a href="http://m.kuaidi100.com/">
                <span class="ico" ><em class="iconfont" style="color:#FF99CC">&#x345d;</em></span>
                <span class="title">{$lang.logistics_query}</span>
            </a>
        </li>
        <li>
            <a href="{url app=refer}">
                <span class="ico"><em class="iconfont" style="color:#99CC66">&#xf0103;</em></span>
                <span class="title">{$lang.my_promotion}</span>
            </a>
        </li>
        <li>
            <a href="{url app=account_log&act=czlist}">
                <span class="ico"><em class="iconfont" style="color:#99CC66">&#xf00ee;</em></span>
                <span class="title">{$lang.prepaid_deposit}</span>
            </a>
        </li>
        <li>
            <a href="{url app=my_integral_log}">
                <span class="ico"><em class="iconfont" style="color:#7BBCEA">&#xf0126;</em></span>
                <span class="title">{$lang.integral_subsidiary}</span>
            </a>
        </li>
        <li>
            <a href="{url app=my_integral_goods}">
                <span class="ico"><em class="iconfont" style="color:#FF6666">&#x3467;</em></span>
                <span class="title">{$lang.credits_exchange}</span>
            </a>
        </li>
        <li>
            <a href="{url app=supply_demand}">
                <span class="ico"><em class="iconfont" style="color:#CC6699">&#xf0086;</em></span>
                <span class="title">{$lang.trade_leads}</span>
            </a>
        </li>
        <li>
            <a href="{url app=my_coupon}">
                <span class="ico" style="color:#CC6699"><em class="iconfont">&#xf0082;</em></span>
                <span class="title">{$lang.my_coupon_codes}</span>
            </a>
        </li>
        <li>
            <a href="{url app=refund}">
                <span class="ico" style="color:#FF99CC"><em class="iconfont">&#xf0077;</em></span>
                <span class="title">{$lang.applied_refund}</span>
            </a>
        </li>
    </ul>
</section>


<section class="member_store">
    <!--{if $store}-->
    <div class="info">
        <dl>
            <a href="{url app=seller_order&type=submitted}">
            <dd>{$lang.order_for_settle}</dd>
            <dt>{$seller_stat.submitted}</dt>
            </a>
        </dl>
        <dl>
            <a href="{url app=seller_order&type=accepted}">
            <dd>{$lang.order_for_ship}</dd>
            <dt>{$seller_stat.accepted}</dt>
            </a>
        </dl>
        <dl>
            <dd>{$lang.store_grade}</dd>
            <dt>{$sgrade.grade_name}</dt>
        </dl>
        <dl>
            <dd>{$lang.expire_time}</dd>
            <dt><!--{if $sgrade.add_time}-->{sprintf lang=leaving_day var1=sgrade.add_time}<!--{else}-->{$lang.no_limit}<!--{/if}--></dt>
        </dl>
        <dl>
            <dd>{$lang.goods_put}</dd>
            <dt>{$sgrade.goods.used}/<!--{if $sgrade.goods.total}-->{$sgrade.goods.total}<!--{else}-->{$lang.no_limit}<!--{/if}--></dt>
        </dl>
        <dl>
            <dd>{$lang.space_use}</dd>
            <dt>{$sgrade.space.used}M/<!--{if $sgrade.space.total}-->{$sgrade.space.total}M<!--{else}-->{$lang.no_limit}<!--{/if}--></dt>
        </dl>
        <div class="clear"></div>
    </div>
    <ul>
        <li>
            <a href="{url app=my_store}">
                <span class="ico"><em class="iconfont" style="color:#CC6699">&#xf00eb;</em></span>
                <span class="title">{$lang.my_store}</span>
            </a>
        </li>
        <li>
            <a href="{url app=my_store&act=location}">
                <span class="ico"><em class="iconfont" style="color:#CC6699">&#xf0137;</em></span>
                <span class="title">{$lang.map_location}</span>
            </a>
        </li>
        <li>
            <a href="{url app=my_goods}">
                <span class="ico" ><em class="iconfont" style="color:#7BBCEA">&#xf00b5;</em></span>
                <span class="title">{$lang.my_goods}</span>
            </a>
        </li>
        <li>
            <a href="{url app=seller_order}">
                <span class="ico"><em class="iconfont" style="color:#66CC99">&#xf0133;</em></span>
                <span class="title">{$lang.order_manage}</span>
            </a>
        </li>
        <li>
            <a href="{url app=my_payment}">
                <span class="ico"><em class="iconfont" style="color:#CC6699">&#xf00ae;</em></span>
                <span class="title">{$lang.payment_management}</span>
            </a>
        </li>
        <li>
            <a href="{url app=seller_promotion}">
                <span class="ico"><em class="iconfont" style="color:#CC6699">&#xf00bc;</em></span>
                <span class="title">{$lang.promotion_manage}</span>
            </a>
        </li>
        <li>
            <a href="{url app=refund&act=receive}">
                <span class="ico"><em class="iconfont" style="color:#FF99CC">&#xf0077;</em></span>
                <span class="title">{$lang.refund_receive}</span>
            </a>
        </li>
        <li>
            <a href="{url app=my_shipping}">
                <span class="ico"><em class="iconfont" style="color:#FF6666">&#xf0078;</em></span>
                <span class="title">{$lang.distribution_management}</span>
            </a>
        </li>
        <li>
            <a href="{url app=my_category}">
                <span class="ico"><em class="iconfont" style="color:#CC6699">&#xf0136;</em></span>
                <span class="title">{$lang.my_category}</span>
            </a>
        </li>
        <li>
            <a href="{url app=seller_coupon&act=check}">
                <span class="ico"><em class="iconfont" style="color:#CC6699">&#xf0082;</em></span>
                <span class="title">{$lang.code_validation}</span>
            </a>
        </li>
        <li>
            <a href="{url app=store&id=$store.store_id}">
                <span class="ico" ><em class="iconfont" style="color:#FF6666">&#xf00b3;</em></span>
                <span class="title">{$lang.personal_stores}</span>
            </a>
        </li>
    </ul>

    <!--{else}-->
    <ul>
        <li>
            <a href="{url app=apply}">
                <span class="ico" style="color:#993366"><em class="iconfont">&#xf00a0;</em></span>
                <span class="title">{$lang.apply_store}</span>
            </a>
        </li>
    </ul>
    <!--{/if}-->
</section>
<a href="index.php?app=member&act=logout" class="member_exit">{$lang.logout}</a>

{include file="footer.html"}